package com.liangsui.mss.constants;

import lombok.*;

/**
 * ResultCode
 *
 * @author zhangjiawei
 * @email 1533167396@qq.com
 * @date 2022/12/8 18:13
 */
public enum ResultCode {

    ALERT_ERROR(10008, "参数错误");

    /** 错误码 */
    private Integer state;

    /** 错误信息 */
    private String message;

    ResultCode(Integer state, String message) {
        this.state = state;
        this.message = message;
    }

    public Integer getState() {
        return state;
    }

    public String getMessage() {
        return message;
    }


}
